import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import net.butfly.bus.client.Client;
import net.butfly.bus.config.Config;
import net.butfly.bus.console.facade.ConfigFacade;

public class Local {
	private static final Logger logger = LoggerFactory.getLogger(Local.class);

	public static void main(String[] args) {
		Client client = new Client("bus-local.xml");
		ConfigFacade facade = client.getService(ConfigFacade.class);
		Config r = null;
		r = facade.getConfig("", true);
		r = facade.getConfig("", true);
		r = facade.getConfig("", true);
		logger.info("finished." + r == null ? "null" : r.toString());
	}
}
